<template>
<div>
  <html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Vue App</title>
    <link rel="stylesheet" href="./css/bootstrap.css">
  </head>
  <body>
  <div>
    <div class="row">
      <Banner></Banner>
    </div>
    <div class="row">
      <div class="col-xs-2 col-xs-offset-2">
        <div class="list-group">
          <router-link replace class="list-group-item" active-class="active" to="/about">About</router-link>
          <router-link replace class="list-group-item" active-class="active" to="/home">Home</router-link>
        </div>
      </div>
      <div class="col-xs-6">
        <div class="panel">
          <div class="panel-body">
<!--            指定组件的呈现位置-->
            <router-view></router-view>
          </div>
        </div>
      </div>
    </div>
  </div>
  </body>
  </html>
</div>
</template>
<script>
import Banner from "@/components/day15 路由/Banner";
export default {
  name:'App',
  components: {Banner},

}
</script>
<style>
button{
  margin-left: 5px;
}
</style>